<?php
require_once ('loginStauts.php');
require_once ('../webconfig.php');
include_once ('../libraries/template.config.php');
require_once ('../configs/config.inc.php');
require_once ('../libraries/core/DataAccess.php');
require_once ('../libraries/core/models/systemusersModel.php');

$dao=new DataAccess($dbhost, $dbuser, $dbpasswd, $dbname);
$usermodel=new systemusersModel($dao); 

$model =$usermodel->executeModel('admin');
$smarty->assign("name",$name);
//print_r($model);
//print_r($model[0]['UserName']);

//print_r($list);
//print_r($name);
//$smarty->assign("name",$name);

$smarty->display('manage/index.html');
?>
